<!--{include header}-->

<div id="bdw" class="bdw">
<div id="bd" class="cf">
<div id="credit">
	<div class="dashboard" id="dashboard">
		<ul>${current_account('/credit/index.php')}</ul>
	</div>
    <div id="content">
		<div class="box clear">
            <div class="box-top"></div>
            <div class="box-content">
                <div class="head">
                    <h2>Crédito</h2>
                </div>
                <div class="sect">
					<p class="charge"> Tenha mais créditos para pegar nossas ofertas: <span>&raquo;</span> <a href="/recarga_online"> Recarregue agora mesmo</a></p>
					<h3 class="credit-title">Seu crédito no momento é de: {$currency} <strong>${moneyit3($login_user['money'])}</strong></h3>
					<table id="order-list" cellspacing="0" cellpadding="0" border="0" class="coupons-table">
						<tr><th width="120"> Data</th><th width="auto"> Detalhe</th><th width="50"> D / C </th><th width="70"> ({$currency})</th></tr>
						<!--{loop $flows $index $one}-->
						<tr ${$index%2?'':'class="alt"'}><td style="text-align:left;">${date('d-m-Y H:i', $one['create_time'])}</td><td>${ZFlow::Explain($one)}</td><td class="{$one['direction']}">${$one['direction']=='income'?'crédito':'debito'}</td><td>${moneyit3($one['money'])}</td></tr>
						<!--{/loop}-->
						<tr><td colspan="4">{$pagestring}</td></tr>
                    </table>
				</div>
            </div>
            <div class="box-bottom"></div>
        </div>
    </div>
    <div id="sidebar">
		<!--{include block_side_credit}-->
		<!--{include block_side_credittip}-->
    </div>
</div>

</div> <!-- bd end -->
</div> <!-- bdw end -->

<!--{include footer}-->
